import request from '@/utils/request'
const baseurl = '/eco/api/semrush/'
export function Post(args) {
  return request({
    url: baseurl + `search/`,
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: args
  })
}

export function GetHistory() {
  return request({
    url: baseurl + `history/`,
    headers: { 'content-type': 'application/json' },
    method: 'GET'
  })
}
